This simulation implements the Smooth Particle Interpolation scheme, using a Gaussian kernel. The user inputs a function to be interpolated, as well as the interpolation domain. SPI parameters (kernel smoothing length and number of SPI particles) are chosen by the user.
The simulation spreads the SPI particles uniformly over the interpolation interval, but the user can reposition particles by dragging them in the display. The simulation maintains an ordered list of particles.
The first and second derivative estimates are calculated by the simulation, but the user has to enter the analytic results manually if comparisons are to be made.
The dependence of the errors on the smoothing length h can also be investigated